<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<link rel="stylesheet" href="__PUBLIC__/static/css/bootstrap.min.css">
	<script type="text/javascript" src="__PUBLIC__/static/js/jquery.js"></script>
	<script type="text/javascript" src="__PUBLIC__/static/js/bootstrap.min.js"></script>
  	<link rel="stylesheet" href="__PUBLIC__/static/css/style.css">
	<title>管理员登陆</title>
</head>
	<script type="text/javascript">
	function checkform0() {
		if (document.getElementById("userid").value == "") {
			alert("用户名不能为空");
			document.getElementById("userid").focus();
			return false;
		}
		if (document.getElementById("password").value == "") {
			alert("密码不能为空");
			document.getElementById("password").focus();
			return false;
		}
		$("#loginForm").submit();
		return true;
	}
</script>
<body>
	<header class="navbar navbar-inverse navbar-fixed-top ">
		<div class="container">
			<div class="navbar-header">
				<a class="navbar-brand bs2-link" href="__APP__/Home/Index/toMain">前台</a>
			</div>
		</div>
	</header>
	<br/>
	<br/>
	<br/>
	<div class="container">
		<h1>Login</h1>
		<p>
			for user login this system
			<br/>
			请登陆后台管理系统,尽情的使用吧~
		</p>
	</div>
	<hr/>
	<br/>
	<br/>
	<div class="container">
		<form action="__URL__/loginAction"  class="form-horizontal" id="loginForm" method="post">
			<div class="form-group row">
					<div class="col-sm-4"></div>
					<div class="input-group col-sm-4">
						<span class="glyphicon glyphicon-user input-group-addon"></span>
						<input class="form-control col-sm-12" type="email" placeholder="Enter user id" name="userid" id="userid"></div>
					<div class="col-sm-4"></div>
			</div>
			<div class="form-group row">
					<div class="col-sm-4"></div>
					<div class="input-group col-sm-4">
						<span class="glyphicon glyphicon-lock input-group-addon" ></span>
						<input type="password" class="form-control col-sm-12" id="password" name="password" placeholder="Password"></div>
					<div class="col-sm-4"></div>
			</div>
			<br/>
			<div class="row">
				<div class="col-sm-4"></div>
				<div class="col-sm-4 input-group"><a class="btn btn-info btn-block" onclick="checkform0()">确&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;认</a></div>
				<div class="col-sm-4"></div>
			</div>
			<!-- <s:password label="password" name="password" id="password"/>
			-->
			
		</form>
	</div>
</body>
</html>